home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / OzTeX3.0update Folder / amslatex / amsbook.cls < prev    next >
Text File  |  1997-04-01  |  45KB  |  1,225 lines

  1. %%
  2. %% This is file `amsbook.cls',
  3. %% generated with the docstrip utility.
  4. %%
  5. %% The original source files were:
  6. %%
  7. %% amsclass.dtx  (with options: `amsbook')
  8. %% 
  9. %%% ====================================================================
  10. %%%  @LaTeX-file{
  11. %%%     filename        = "amsclass.dtx",
  12. %%%     version         = "1.2r",
  13. %%%     date            = "1997/03/26",
  14. %%%     time            = "09:49:00 EST",
  15. %%%     checksum        = "12277 3427 13562 126088",
  16. %%%     author          = "American Mathematical Society",
  17. %%%     copyright       = "Copyright (C) 1996 American Mathematical Society,
  18. %%%                        all rights reserved.  Copying of this file is
  19. %%%                        authorized only if either:
  20. %%%                        (1) you make absolutely no changes to your copy,
  21. %%%                        including name; OR
  22. %%%                        (2) if you do make changes, you first rename it
  23. %%%                        to some other name.",
  24. %%%     address         = "American Mathematical Society,
  25. %%%                        Technical Support,
  26. %%%                        Electronic Products and Services,
  27. %%%                        P. O. Box 6248,
  28. %%%                        Providence, RI 02940,
  29. %%%                        USA",
  30. %%%     telephone       = "401-455-4080 or (in the USA and Canada)
  31. %%%                        800-321-4AMS (321-4267)",
  32. %%%     FAX             = "401-331-3842",
  33. %%%     email           = "tech-support@ams.org (Internet)",
  34. %%%     codetable       = "ISO/ASCII",
  35. %%%     keywords        = "latex, amslatex, ams-latex",
  36. %%%     supported       = "yes",
  37. %%%     abstract        = "This is part of the AMS-\LaTeX{} distribution.
  38. %%%                        It produces output conforming to the style
  39. %%%                        conventions of American Mathematical Society
  40. %%%                        publications.  The file \fn{amsclass.dtx} is
  41. %%%                        converted by the installation procedure
  42. %%%                        into three document classes:
  43. %%%                        \cls{amsart}, \cls{amsproc}, and \cls{amsbook},
  44. %%%                        which are intended, respectively,
  45. %%%                        for articles and books containing mathematical
  46. %%%                        research; both class files will also carry this
  47. %%%                        heading, and the particular class should be
  48. %%%                        determined from the external file name.",
  49. %%%     docstring       = "The checksum field above contains a CRC-16
  50. %%%                        checksum as the first value, followed by the
  51. %%%                        equivalent of the standard UNIX wc (word
  52. %%%                        count) utility output of lines, words, and
  53. %%%                        characters.  This is produced by Robert
  54. %%%                        Solovay's checksum utility.",
  55. %%%  }
  56. %%% ====================================================================
  57. \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
  58. [1994/12/01]% LaTeX date must December 1994 or later
  59. \ProvidesClass{amsbook}[1997/03/26 v1.2r]
  60. \def\@tempa#1#2\@nil{\edef\@classname{#1}}
  61. \expandafter\@tempa\@currnamestack{}{}{}\@nil
  62. \ifx\@classname\@empty \edef\@classname{\@currname}\fi
  63. \DeclareOption{a4paper}{\paperheight 297mm\paperwidth 210mm
  64.   \textheight 54.5pc }
  65. \DeclareOption{letterpaper}{\paperheight 11in\paperwidth 8.5in }
  66. \DeclareOption{landscape}{\@tempdima\paperheight
  67.   \paperheight\paperwidth \paperwidth\@tempdima}
  68. \DeclareOption{portrait}{}
  69. \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
  70. \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
  71. \DeclareOption{draft}{\overfullrule5\p@ }
  72. \DeclareOption{final}{\overfullrule\z@ }
  73. \newif\if@titlepage
  74. \DeclareOption{titlepage}{\@titlepagetrue}
  75. \DeclareOption{notitlepage}{\@titlepagefalse}
  76. \newif\if@openright
  77. \DeclareOption{openright}{\@openrighttrue}
  78. \DeclareOption{openany}{\@openrightfalse}
  79. \DeclareOption{onecolumn}{\@twocolumnfalse}
  80. \DeclareOption{twocolumn}{\@twocolumntrue}
  81. \DeclareOption{nomath}{}
  82. \DeclareOption{noamsfonts}{}
  83. \DeclareOption{psamsfonts}{%
  84.   \PassOptionsToPackage{psamsfonts}{amsfonts}%
  85.   \PassOptionsToPackage{cmex10}{amsmath}}
  86. \newif\iftagsleft@
  87. \DeclareOption{leqno}{%
  88.   \tagsleft@true \PassOptionsToPackage{leqno}{amsmath}}
  89. \DeclareOption{reqno}{%
  90.   \tagsleft@false \PassOptionsToPackage{reqno}{amsmath}}
  91. \newif\ifctagsplit@
  92. \DeclareOption{centertags}{%
  93.   \ctagsplit@true \PassOptionsToPackage{centertags}{amsmath}}
  94. \DeclareOption{tbtags}{%
  95.   \ctagsplit@false \PassOptionsToPackage{tbtags}{amsmath}}
  96. \DeclareOption{fleqn}{%
  97.   \def\[{\relax
  98.     \ifmmode\@badmath
  99.     \else
  100.       \begin{trivlist}%
  101.       \@beginparpenalty\predisplaypenalty
  102.       \@endparpenalty\postdisplaypenalty
  103.       \item[]\leavevmode
  104.       \hbox to\linewidth\bgroup$\displaystyle
  105.       \hskip\mathindent\bgroup
  106.     \fi}%
  107.   \def\]{\relax
  108.     \ifmmode
  109.       \egroup \m@th$\hfil \egroup
  110.       \end{trivlist}%
  111.     \else \@badmath
  112.     \fi}%
  113.   \renewenvironment{equation}{%
  114.     \@beginparpenalty\predisplaypenalty
  115.     \@endparpenalty\postdisplaypenalty
  116.     \refstepcounter{equation}%
  117.     \@topsep\abovedisplayskip \trivlist
  118.     \item[]\leavevmode
  119.     \hbox to\linewidth\bgroup\hskip\mathindent$\displaystyle
  120.   }{%
  121.     \m@th$\hfil \displaywidth\linewidth \hbox{\@eqnnum}\egroup
  122.     \endtrivlist
  123.   }%
  124.   \renewenvironment{eqnarray}{%
  125.     \stepcounter{equation}\let\@currentlabel\theequation
  126.     \global\@eqnswtrue \global\@eqcnt\z@ \tabskip\mathindent
  127.     \let\\=\@eqncr \abovedisplayskip\topsep
  128.     \ifvmode \advance\abovedisplayskip\partopsep \fi
  129.     \belowdisplayskip\abovedisplayskip
  130.     \belowdisplayshortskip\abovedisplayskip
  131.     \abovedisplayshortskip\abovedisplayskip
  132.     $$\everycr{}\halign to\linewidth\bgroup
  133.       \hskip\@centering
  134.       $\displaystyle\tabskip\z@skip####\m@th$&%
  135.       \@eqnsel \global\@eqcnt\@ne
  136.       \hfil${}####{}\m@th$\hfil&%
  137.       \global\@eqcnt\tw@
  138.       $\displaystyle ####\m@th$\hfil\tabskip\@centering&%
  139.       \global\@eqcnt\thr@@
  140.       \hbox to \z@\bgroup\hss####\egroup\tabskip\z@skip\cr
  141.     }{%
  142.       \@@eqncr \egroup \global\advance\c@equation\m@ne$$%
  143.       \global\@ignoretrue
  144.     }%
  145.   \newdimen\mathindent \mathindent\leftmargini
  146. }
  147. \newcommand{\@mainsize}{10}
  148. \newcommand{\@ptsize}{0}
  149. \newcommand{\larger}[1][1]{%
  150.   \count@\@currsizeindex \advance\count@#1\relax
  151.   \ifnum\count@<\z@ \count@\z@ \else\ifnum\count@>12 \count@12 \fi\fi
  152.   \ifcase\count@
  153.     \Tiny\or\Tiny\or\tiny\or\SMALL\or\Small\or\small
  154.     \or\normalsize
  155.     \or\large\or\Large\or\LARGE\or\huge\or\Huge\else\Huge
  156.   \fi
  157. }
  158. \newcommand{\smaller}[1][1]{\larger[-#1]}
  159. \def\@adjustvertspacing{%
  160.   \bigskipamount.7\baselineskip plus.7\baselineskip
  161.   \medskipamount\bigskipamount \divide\medskipamount\tw@
  162.   \smallskipamount\medskipamount \divide\smallskipamount\tw@
  163.   \abovedisplayskip\medskipamount
  164.   \belowdisplayskip \abovedisplayskip
  165.   \abovedisplayshortskip\abovedisplayskip
  166.   \advance\abovedisplayshortskip-1\abovedisplayskip
  167.   \belowdisplayshortskip\abovedisplayshortskip
  168.   \advance\belowdisplayshortskip 1\smallskipamount
  169.   \jot\baselineskip \divide\jot 4 \relax
  170. }
  171. \renewcommand\normalsize{\@xsetfontsize\normalsize 6%
  172.   \@adjustvertspacing \let\@listi\@listI}
  173. \newcommand\Tiny{\@xsetfontsize\Tiny 1}
  174. \newcommand\tiny{\@xsetfontsize\tiny 2}
  175. \newcommand\SMALL{\@xsetfontsize\SMALL 3}
  176. \newcommand\Small{\@xsetfontsize\Small 4%
  177.   \@adjustvertspacing
  178.   \def\@listi{\topsep\smallskipamount \parsep\z@skip \itemsep\z@skip}}
  179. \newcommand\small{\@xsetfontsize\small 5\@adjustvertspacing}
  180. \def\footnotesize{\Small}
  181. \def\scriptsize{\SMALL}
  182. \newcommand\large{\@xsetfontsize\large 7\@adjustvertspacing}
  183. \newcommand\Large{\@xsetfontsize\Large 8\@adjustvertspacing}
  184. \newcommand\LARGE{\@xsetfontsize\LARGE 9}
  185. \newcommand\huge{\@xsetfontsize\huge{10}}
  186. \newcommand\Huge{\@xsetfontsize\Huge{11}}
  187. \def\@xsetfontsize#1#2{%
  188.   \chardef\@currsizeindex#2\relax
  189.   \edef\@tempa{\@nx\@setfontsize\@nx#1%
  190.     \@xp\ifcase\@xp\@currsizeindex\@typesizes
  191.       \else{99}{99}\fi}%
  192.   \@tempa
  193. }
  194. \chardef\@currsizeindex=6
  195. \widowpenalty=10000
  196. \clubpenalty=10000
  197. \brokenpenalty=10000
  198. \newdimen\linespacing
  199. \lineskip=1pt \lineskiplimit=1pt
  200. \normallineskip=1pt \normallineskiplimit=1pt
  201. \let\baselinestretch=\@empty
  202. \headheight=5pt \headsep=14pt
  203. \footskip=18pt
  204. \textheight=50.5pc \topskip=10pt
  205. \textwidth=30pc
  206. \columnsep=10pt \columnseprule=0pt
  207. \marginparwidth=90pt
  208. \marginparsep=11pt
  209. \marginparpush=5pt
  210. \AtBeginDocument{\settoheight{\footnotesep}{\footnotesize M$^1$}}
  211. \skip\footins=7pt plus11pt
  212. \skip\@mpfootins=\skip\footins
  213. \fboxsep=3pt \fboxrule=.4pt
  214. \arrayrulewidth=.4pt    \doublerulesep=2pt
  215. \labelsep=5pt           \arraycolsep=\labelsep
  216. \tabcolsep=\labelsep    \tabbingsep=\labelsep
  217. \floatsep=15pt plus 12pt    \dblfloatsep=15pt plus 12pt
  218. \textfloatsep=\floatsep  \dbltextfloatsep=15pt plus 12pt
  219. \intextsep=\floatsep
  220. \@fptop=0pt plus1fil     \@dblfptop=0pt plus1fil
  221. \@fpbot=0pt plus1fil     \@dblfpbot=0pt plus1fil
  222. \@fpsep=8pt plus2fil     \@dblfpsep=8pt plus2fil\relax
  223. \parskip=0pt \relax
  224. \newdimen\normalparindent
  225. \normalparindent=18pt
  226. \parindent=\normalparindent
  227. \partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
  228. \@lowpenalty=51         \@medpenalty=151        \@highpenalty=301
  229. \@beginparpenalty=-\@lowpenalty
  230. \@endparpenalty=-\@lowpenalty
  231. \@itempenalty=-\@lowpenalty
  232. \DeclareOption{10pt}{\def\@mainsize{10}\def\@ptsize{0}%
  233.   \def\@typesizes{%
  234.     \or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}%
  235.     \or{10}{12}% normalsize
  236.     \or{\@xipt}{13}\or{\@xiipt}{14}\or{\@xivpt}{17}%
  237.     \or{\@xviipt}{20}\or{\@xxpt}{24}}%
  238.   \normalsize \linespacing=\baselineskip
  239. }
  240. \DeclareOption{11pt}{\def\@mainsize{11}\def\@ptsize{1}%
  241.   \def\@typesizes{%
  242.     \or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}%
  243.     \or{\@xipt}{13}% normalsize
  244.     \or{\@xiipt}{14}\or{\@xivpt}{17}\or{\@xviipt}{20}%
  245.     \or{\@xxpt}{24}\or{\@xxvpt}{30}}%
  246.   \normalsize \linespacing=\baselineskip
  247. }
  248. \DeclareOption{12pt}{\def\@mainsize{12}\def\@ptsize{2}%
  249.   \def\@typesizes{%
  250.     \or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  251.     \or{\@xiipt}{14}% normalsize
  252.     \or{\@xivpt}{17}\or{\@xviipt}{20}\or{\@xxpt}{24}%
  253.     \or{\@xxvpt}{30}\or{\@xxvpt}{30}}%
  254.   \normalsize \linespacing=\baselineskip
  255. }
  256. \DeclareOption{8pt}{\def\@mainsize{8}\def\@ptsize{8}%
  257.   \def\@typesizes{%
  258.     \or{5}{6}\or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}%
  259.     \or{8}{10}% normalsize
  260.     \or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  261.     \or{\@xiipt}{14}\or{\@xivpt}{17}}%
  262.   \normalsize \linespacing=\baselineskip
  263. }
  264. \DeclareOption{9pt}{\def\@mainsize{9}\def\@ptsize{9}%
  265.   \def\@typesizes{%
  266.     \or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}%
  267.     \or{9}{11}% normalsize
  268.     \or{10}{12}\or{\@xipt}{13}\or{\@xiipt}{14}%
  269.     \or{\@xivpt}{17}\or{\@xviipt}{20}}%
  270.   \normalsize \linespacing=\baselineskip
  271. }
  272. \def\ps@empty{\let\@mkboth\@gobbletwo
  273.   \let\@oddhead\@empty \let\@evenhead\@empty
  274.   \let\@oddfoot\@empty \let\@evenfoot\@empty
  275.   \global\topskip\normaltopskip}
  276. \def\ps@plain{\ps@empty
  277.   \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil}%
  278.   \let\@evenfoot\@oddfoot}
  279. \def\ps@headings{\ps@empty
  280.   \def\@evenhead{\normalfont\scriptsize
  281.       \rlap{\thepage}\hfil \leftmark{}{}\hfil}%
  282.   \def\@oddhead{\normalfont\scriptsize \hfil
  283.       \rightmark{}{}\hfil \llap{\thepage}}%
  284.   \let\@mkboth\markboth
  285.   \def\partmark{\@secmark\markboth\partrunhead\partname}%
  286.   \def\chaptermark{%
  287.     \@secmark\markboth\chapterrunhead{}}%
  288.   \def\sectionmark{%
  289.     \@secmark\markright\sectionrunhead\sectionname}%
  290. }
  291. \let\sectionname\@empty
  292. \let\subsectionname\@empty
  293. \let\subsubsectionname\@empty
  294. \let\paragraphname\@empty
  295. \let\subparagraphname\@empty
  296. \def\leftmark{\expandafter\@firstoftwo\topmark{}{}}
  297. \def\rightmark{\expandafter\@secondoftwo\botmark{}{}}
  298. \long\def\@nilgobble#1\@nil{}
  299. \def\@secmark#1#2#3#4{%
  300.   \begingroup \let\protect\@unexpandable@protect
  301.   \edef\@tempa{\endgroup \toks@{\@nx#2{#3}{\@secnumber}}}%
  302.   \@tempa
  303.   \toks@\@xp{\the\toks@{#4}}%
  304.   \afterassignment\@nilgobble\@temptokena\@themark{}\@nil
  305.   \edef\@tempa{\@nx\@mkboth{%
  306.     \ifx\markright#1\the\@temptokena\else\the\toks@\fi}{\the\toks@}}%
  307.   \@tempa}
  308. \let\@secnumber\@empty
  309. \def\markboth#1#2{%
  310.   \begingroup
  311.     \@temptokena{{#1}{#2}}\xdef\@themark{\the\@temptokena}%
  312.     \mark{\the\@temptokena}%
  313.   \endgroup
  314.   \if@nobreak\ifvmode\nobreak\fi\fi}
  315. \def\ps@myheadings{\ps@headings \let\@mkboth\@gobbletwo}
  316. \newskip\normaltopskip
  317. \normaltopskip=10pt \relax
  318. \let\sectionmark\@gobble
  319. \let\subsectionmark\@gobble
  320. \let\subsubsectionmark\@gobble
  321. \let\paragraphmark\@gobble
  322.  
  323. \DeclareOption{makeidx}{}
  324. \input{amsgen.sty}
  325. \ExecuteOptions{leqno,centertags,letterpaper,portrait,%
  326.   10pt,twoside,onecolumn,final}
  327. \ProcessOptions\relax
  328. \if@compatibility
  329.   \def\@tempa{\RequirePackage{amstex}\relax}
  330. \else
  331.   \@ifclasswith{\@classname}{nomath}{%
  332.     \let\@tempa\relax
  333.   }{%
  334.     \def\@tempa{\RequirePackage{amsmath}\relax}%
  335.   }%
  336. \fi
  337. \@tempa % load amstex.sty or amsmath.sty
  338. \providecommand\numberwithin[2]{%
  339.   \@ifundefined{c@#1}{\@nocounterr{#1}}{%
  340.     \@ifundefined{c@#2}{\@nocounterr{#2}}{%
  341.     \@addtoreset{#1}{#2}%
  342.     \toks@\@xp\@xp\@xp{\csname the#1\endcsname}%
  343.     \@xp\xdef\csname the#1\endcsname
  344.       {\@xp\@nx\csname the#2\endcsname
  345.        .\the\toks@}}}}
  346. \if@compatibility
  347. \else
  348.   \@ifclasswith{\@classname}{noamsfonts}{%
  349.     % amsfonts package is not wanted
  350.   }{%
  351.     % amsfonts package IS wanted; test whether a recent enough version
  352.     % seems to be installed
  353.     \begingroup \fontencoding{U}\fontfamily{msa}\try@load@fontshape\endgroup
  354.     \global\@xp\let\csname U+msa\endcsname\relax % reset
  355.     \@ifundefined{U/msa/m/n}{%
  356.       \ClassError{\@classname}{%
  357.   Package `amsfonts' not installed, or version too old?\MessageBreak
  358.   Unable to get font info for the `msam' fonts in the expected form%
  359.       }{%
  360.   The amsfonts package will not be loaded, to avoid probable\MessageBreak
  361.   incompatibility problems. You can (a) use the `noamsfonts'
  362.       documentclass\MessageBreak
  363.   option next time, or (b) check that the amsfonts package is
  364.       installed\MessageBreak
  365.   correctly, and is not too old to be compatible.%
  366.       }%
  367.     }{%
  368.       \RequirePackage{amsfonts}[1995/01/01]\relax
  369.     }%
  370.   }
  371. \fi % end yesamsfonts branch
  372. \newcommand{\uppercasenonmath}[1]{\toks@\@emptytoks
  373.   \@xp\@skipmath\@xp\@empty#1$$%
  374.   \edef#1{\@nx\@upprep\the\toks@}%
  375. }
  376. \newcommand{\@upprep}{%
  377.   \spaceskip1.3\fontdimen2\font plus1.3\fontdimen3\font
  378.   \upchars@}
  379. \newcommand{\upchars@}{%
  380.   \def\ss{SS}\def\i{I}\def\j{J}\def\ae{\AE}\def\oe{\OE}%
  381.   \def\o{\O}\def\aa{\AA}\def\l{\L}\def\Mc{M{\scshape c}}}
  382. \newcommand{\@skipmath}{}
  383. \long\def\@skipmath#1$#2${%
  384.   \@xskipmath#1\(\)%
  385.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@$#2$}\@skipmath\@empty}}%
  386. \newcommand{\@xskipmath}{}
  387. \long\def\@xskipmath#1\(#2\){%
  388.   \uppercase{\toks@\@xp\@xp\@xp{\@xp\the\@xp\toks@#1}}%
  389.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@\(#2\)}\@xskipmath\@empty}}%
  390. \newcommand{\today}{%
  391.   \relax\ifcase\month\or
  392.   January\or February\or March\or April\or May\or June\or
  393.   July\or August\or September\or October\or November\or December\fi
  394.   \space\number\day, \number\year}
  395. \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
  396. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  397. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  398. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  399. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  400. \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  401. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  402. \renewcommand*{\title}[2][]{\gdef\shorttitle{#1}\gdef\@title{#2}}
  403. \edef\title{\@nx\@dblarg
  404.   \@xp\@nx\csname\string\title\endcsname}
  405. \renewcommand{\author}[2][]{%
  406.   \ifx\@empty\authors
  407.     \gdef\shortauthors{#1}\gdef\authors{#2}%
  408.   \else
  409.     \g@addto@macro\shortauthors{\and#1}%
  410.     \g@addto@macro\authors{\and#2}%
  411.     \g@addto@macro\addresses{\author{}}%
  412.   \fi
  413. }
  414. \edef\author{\@nx\@dblarg
  415.   \@xp\@nx\csname\string\author\endcsname}
  416. \let\shortauthors\@empty   \let\authors\@empty
  417. \let\addresses\@empty      \let\thankses\@empty
  418. \newcommand{\address}[2][]{\g@addto@macro\addresses{\address{#1}{#2}}}
  419. \newcommand{\curraddr}[2][]{\g@addto@macro\addresses{\curraddr{#1}{#2}}}
  420. \newcommand{\email}[2][]{\g@addto@macro\addresses{\email{#1}{#2}}}
  421. \newcommand{\urladdr}[2][]{\g@addto@macro\addresses{\urladdr{#1}{#2}}}
  422. \renewcommand{\thanks}[1]{\g@addto@macro\thankses{\thanks{#1}}}
  423. \def\@setaddresses{\par
  424.   \nobreak \begingroup
  425.   \def\author##1{\nobreak\addvspace\bigskipamount}%
  426.   \def\\{\unskip, \ignorespaces}%
  427.   \interlinepenalty\@M
  428.   \def\address##1##2{\begingroup
  429.     \par\addvspace\bigskipamount\indent
  430.     \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
  431.     {\scshape\ignorespaces##2}\par\endgroup}%
  432.   \def\curraddr##1##2{\begingroup
  433.     \@ifnotempty{##2}{\nobreak\indent{\itshape Current address}%
  434.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  435.       ##2\par\endgroup}}%
  436.   \def\email##1##2{\begingroup
  437.     \@ifnotempty{##2}{\nobreak\indent{\itshape E-mail address}%
  438.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  439.       \ttfamily##2\par\endgroup}}%
  440.   \def\urladdr##1##2{\begingroup
  441.     \@ifnotempty{##2}{\nobreak\indent{\itshape URL}%
  442.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  443.       \ttfamily##2\par\endgroup}}%
  444.   \addresses
  445.   \endgroup
  446. }
  447. \let\@date\@empty
  448. \def\dedicatory#1{\def\@dedicatory{#1}}
  449. \let\@dedicatory=\@empty
  450. \def\keywords#1{\def\@keywords{#1}}
  451. \let\@keywords=\@empty
  452. \def\subjclass#1{\def\@subjclass{#1}}
  453. \let\@subjclass=\@empty
  454. \def\translator#1{%
  455.   \ifx\@empty\@translators \def\@translators{#1}%
  456.   \else\g@addto@macro\@translators{\and#1}\fi}
  457. \let\@translators=\@empty
  458. \newcommand{\xandlist}[4]{\@andlista{{#1}{#2}{#3}}#4\and\and}
  459. \def\@andlista#1#2\and#3\and{\@andlistc{#2}\@ifnotempty{#3}{%
  460.   \@andlistb#1{#3}}}
  461. \def\@andlistb#1#2#3#4#5\and{%
  462.   \@ifempty{#5}{%
  463.     \@andlistc{#2#4}%
  464.   }{%
  465.     \@andlistc{#1#4}\@andlistb{#1}{#3}{#3}{#5}%
  466.   }}
  467. \let\@andlistc\@iden
  468. \newcommand{\nxandlist}[4]{%
  469.   \def\@andlistc##1{\toks@\@xp{\the\toks@##1}}%
  470.   \toks@{\toks@\@emptytoks \@andlista{{#1}{#2}{#3}}}%
  471.   \the\@xp\toks@#4\and\and
  472.   \edef#4{\the\toks@}%
  473.   \let\@andlistc\@iden}
  474. \newcommand{\andify}{%
  475.   \nxandlist{\unskip, }{\unskip{} and~}{\unskip, and~}}
  476. \def\and{\unskip{ }and \ignorespaces}
  477. \def\copyrightinfo#1#2{\def\copyrightyear{#1}\def\copyrightholder{#2}}
  478. \copyrightinfo{0000}{(copyright holder)}
  479. \newcommand{\abstractname}{Abstract}
  480. \newcommand{\keywordsname}{Key words and phrases}
  481. \newcommand{\subjclassname}{\textup{1991} Mathematics Subject
  482.      Classification}
  483. \def\@tempb{amsbook}
  484. \ifx\@classname\@tempb
  485.   \newcommand{\datename}{\textit{Date}:}
  486. \else
  487.   \newcommand{\datename}{Received by the editors}
  488. \fi
  489. \def\@setdate{\datename\ \@date\@addpunct.}
  490. \def\@setsubjclass{%
  491.   {\itshape\subjclassname.}\enspace\@subjclass\@addpunct.}
  492. \def\@setkeywords{%
  493.   {\itshape \keywordsname.}\enspace \@keywords\@addpunct.}
  494. \def\@setthanks{\def\thanks##1{\par##1\@addpunct.}\thankses}
  495. \newbox\abstractbox
  496. \newenvironment{abstract}{%
  497.   \ifx\maketitle\relax
  498.     \ClassWarning{\@classname}{Abstract should precede
  499.       \protect\maketitle\space in AMS documentclasses; reported}%
  500.   \fi
  501.   \global\setbox\abstractbox=\vtop \bgroup
  502.  \normalsize
  503.   \Small
  504.   \list{}{\labelwidth\z@
  505.     \leftmargin3pc \rightmargin\leftmargin
  506.     \listparindent\normalparindent \itemindent\z@
  507.     \parsep\z@ \@plus\p@
  508.     \let\fullwidthdisplay\relax
  509.     }%
  510.   \item[\hskip\labelsep\scshape\abstractname.]%
  511. }{%
  512.   \endlist\egroup
  513.   \ifx\@setabstract\relax \@setabstracta \fi
  514. }
  515. \def\@setabstract{\@setabstracta \global\let\@setabstract\relax}
  516. \def\@setabstracta{%
  517.   \ifvoid\abstractbox
  518.   \else
  519.     \skip@20\p@ \advance\skip@-\lastskip
  520.     \advance\skip@-\baselineskip \vskip\skip@
  521.     \box\abstractbox
  522.     \prevdepth\z@ % because \abstractbox is a vtop
  523.   \fi
  524. }
  525. \def\titlepage{%
  526.   \cleardoublepage
  527.   \thispagestyle{empty}\setcounter{page}{0}}
  528. \def\endtitlepage{\newpage}
  529. \def\labelenumi{\theenumi.}
  530. \def\theenumi{\@arabic\c@enumi}
  531. \def\labelenumii{(\theenumii)}
  532. \def\theenumii{\@alph\c@enumii}
  533. \def\p@enumii{\theenumi}
  534. \def\labelenumiii{(\theenumiii)}
  535. \def\theenumiii{\@roman\c@enumiii}
  536. \def\p@enumiii{\theenumi(\theenumii)}
  537. \def\labelenumiv{(\theenumiv)}
  538. \def\theenumiv{\@Alph\c@enumiv}
  539. \def\p@enumiv{\p@enumiii\theenumiii}
  540. \def\labelitemi{$\m@th\bullet$}
  541. \def\labelitemii{\bfseries --}% \upshape already done by \itemize
  542. \def\labelitemiii{$\m@th\ast$}
  543. \def\labelitemiv{$\m@th\cdot$}
  544. \newenvironment{verse}{\let\\\@centercr
  545.   \list{}{\itemsep\z@ \itemindent -1.5em\listparindent\itemindent
  546.   \rightmargin\leftmargin \advance\leftmargin 1.5em}\item[]%
  547. }{%
  548.   \endlist
  549. }
  550. \let\endverse=\endlist % for efficiency
  551. \newenvironment{quotation}{\list{}{%
  552.     \leftmargin3pc \listparindent\normalparindent
  553.     \itemindent\z@
  554.     \rightmargin\leftmargin \parsep\z@ \@plus\p@}%
  555.   \item[]%
  556. }{%
  557.   \endlist
  558. }
  559. \let\endquotation=\endlist % for efficiency
  560. \newenvironment{quote}{%
  561.   \list{}{\rightmargin\leftmargin}\item[]%
  562. }{%
  563.   \endlist
  564. }
  565. \let\endquote=\endlist % for efficiency
  566. \def\trivlist{\parsep\parskip\@nmbrlistfalse
  567.   \@trivlist \labelwidth\z@ \leftmargin\z@
  568.   \itemindent\z@
  569.   \let\@itemlabel\@empty
  570.   \def\makelabel##1{\upshape##1}}
  571. \renewenvironment{enumerate}{%
  572.   \ifnum \@enumdepth >3 \@toodeep\else
  573.       \advance\@enumdepth \@ne
  574.       \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
  575.       {\csname label\@enumctr\endcsname}{\usecounter
  576.         {\@enumctr}\def\makelabel##1{\hss\llap{\upshape##1}}}\fi
  577. }{%
  578.   \endlist
  579. }
  580. \let\endenumerate=\endlist % for efficiency
  581. \renewenvironment{itemize}{%
  582.   \ifnum\@itemdepth>3 \@toodeep
  583.   \else \advance\@itemdepth\@ne
  584.     \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  585.     \list{\csname\@itemitem\endcsname}%
  586.       {\def\makelabel##1{\hss\llap{\upshape##1}}}%
  587.   \fi
  588. }{%
  589.   \endlist
  590. }
  591. \let\enditemize=\endlist % for efficiency
  592. \newcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1:}
  593. \newenvironment{description}{\list{}{%
  594.   \advance\leftmargini6\p@ \itemindent-12\p@
  595.   \labelwidth\z@ \let\makelabel\descriptionlabel}%
  596. }{
  597.   \endlist
  598. }
  599. \let\enddescription=\endlist % for efficiency
  600. \let\upn=\textup
  601. \AtBeginDocument{%
  602.   \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
  603.   \advance\leftmargini by \normalparindent
  604.   \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
  605.   \advance\leftmarginii by 15pt
  606.   \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
  607.   \advance\leftmarginiii by 12pt
  608.   \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
  609.   \advance\leftmarginiv by 10pt
  610.   \leftmarginv=10pt
  611.   \leftmarginvi=10pt
  612.   \leftmargin=\leftmargini
  613.   \labelsep=5pt
  614.   \labelwidth=\leftmargini \advance\labelwidth-\labelsep
  615.   \@listi}
  616. \newskip\listisep
  617. \listisep\smallskipamount
  618. \def\@listI{\leftmargin\leftmargini \parsep\z@skip
  619.   \topsep\listisep \itemsep\z@skip
  620.   \listparindent\normalparindent}
  621. \let\@listi\@listI
  622. \def\@listii{\leftmargin\leftmarginii
  623.   \labelwidth\leftmarginii \advance\labelwidth-\labelsep
  624.   \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\z@skip}
  625. \def\@listiii{\leftmargin\leftmarginiii
  626.   \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
  627. \def\@listiv{\leftmargin\leftmarginiv
  628.   \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
  629. \def\@listv{\leftmargin\leftmarginv
  630.   \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
  631. \def\@listvi{\leftmargin\leftmarginvi
  632.   \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
  633. \def\@startsection#1#2#3#4#5#6{%
  634.  \if@noskipsec \leavevmode \fi
  635.  \par \@tempskipa #4\relax
  636.  \@afterindenttrue
  637.  \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
  638.  \if@nobreak \everypar{}\else
  639.      \addpenalty\@secpenalty\addvspace\@tempskipa\fi
  640.  \@ifstar{\@dblarg{\@sect{#1}{\@m}{#3}{#4}{#5}{#6}}}%
  641.          {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
  642. }
  643. \def\@sect#1#2#3#4#5#6[#7]#8{%
  644.   \edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}%
  645.   \ifnum #2>\c@secnumdepth \let\@secnumber\@empty
  646.   \else \@xp\let\@xp\@secnumber\csname the#1\endcsname\fi
  647.  \ifnum #2>\c@secnumdepth
  648.    \let\@svsec\@empty
  649.  \else
  650.     \refstepcounter{#1}%
  651.     \edef\@svsec{\ifnum#2<\@m
  652.        \@ifundefined{#1name}{}{%
  653.          \ignorespaces\csname #1name\endcsname\space}\fi
  654.        \@nx\textup{%
  655.          \csname the#1\endcsname.}\enspace
  656.     }%
  657.   \fi
  658.   \@tempskipa #5\relax
  659.   \ifdim \@tempskipa>\z@ % then this is not a run-in section heading
  660.     \begingroup #6\relax
  661.     \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M #8\par}%
  662.     \endgroup
  663.   \csname #1mark\endcsname{#7}%
  664.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  665.   \else
  666.   \def\@svsechd{#6\hskip #3\@svsec
  667.     \@ifnotempty{#8}{\ignorespaces#8\unskip
  668.        \@addpunct.}%
  669.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  670.   }%
  671.   \fi
  672.   \global\@nobreaktrue
  673.   \@xsect{#5}}
  674. \let\@ssect\relax
  675. \newcounter{part}
  676. \newcounter{chapter}
  677. \newcounter{section}[chapter]
  678. \def\thesection{\arabic{section}}
  679. \newcounter{subsection}[section]
  680. \newcounter{subsubsection}[subsection]
  681. \newcounter{paragraph}[subsubsection]
  682. \renewcommand\thepart          {\arabic{part}}
  683. \renewcommand\thechapter       {\arabic{chapter}}
  684. \renewcommand\thesection       {\arabic{section}}
  685. \renewcommand\thesubsection    {\thesection.\arabic{subsection}}
  686. \renewcommand\thesubsubsection {\thesubsection .\arabic{subsubsection}}
  687. \renewcommand\theparagraph     {\thesubsubsection.\arabic{paragraph}}
  688. \setcounter{secnumdepth}{3}
  689. \def\partname{Part}
  690. \def\specialsection{\@startsection{section}{1}%
  691.   \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
  692.   {\large\scshape\centering}}
  693. \def\part{\cleardoublepage \thispagestyle{empty}%
  694.   \null\vfil  \markboth{}{}\secdef\@part\@spart}
  695. \def\@part[#1]#2{%
  696.   \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}%
  697.     \addcontentsline{toc}{part}{\partname\ \thepart.
  698.         \protect\enspace\protect\noindent#1}%
  699.   \else
  700.     \addcontentsline{toc}{part}{#1}\fi
  701.   \begingroup\centering
  702.   \ifnum \c@secnumdepth >-2\relax
  703.        {\fontsize{\@xviipt}{22}\bfseries
  704.          \partname\ \thepart} \vskip 20\p@ \fi
  705.   \fontsize{\@xxpt}{25}\bfseries
  706.       #1\vfil\vfil\endgroup \newpage\thispagestyle{empty}}
  707.  
  708. \def\@spart#1{\addcontentsline{toc}{part}{\protect\noindent#1}%
  709.   \begingroup\centering
  710.   \fontsize{\@xxpt}{25}\bfseries
  711.      #1\vfil\vfil\endgroup \newpage\thispagestyle{empty}}
  712. \def\partrunhead#1#2#3{%
  713.   \@ifnotempty{#2}{\uppercase{#1 #2}\@ifnotempty{#3}{. }}%
  714.   \def\@tempa{#3}%
  715.   \ifx\@empty\@tempa\else\uppercasenonmath\@tempa\@tempa\fi}
  716. \let\chapterrunhead\partrunhead
  717. \let\sectionrunhead\partrunhead
  718. \def\section{\@startsection{section}{1}%
  719.   \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
  720.   {\normalfont\bfseries\centering}}
  721. \def\subsection{\@startsection{subsection}{2}%
  722.   \normalparindent{.5\linespacing\@plus.7\linespacing}{-.5em}%
  723.   {\normalfont\bfseries}}
  724. \def\subsubsection{\@startsection{subsubsection}{3}%
  725.   \normalparindent\z@{-.5em}%
  726.   {\normalfont\itshape}}
  727. \def\paragraph{\@startsection{paragraph}{4}%
  728.   \normalparindent\z@{-\fontdimen2\font}%
  729.   \normalfont}
  730. \def\subparagraph{\@startsection{subparagraph}{5}%
  731.   \z@\z@{-\fontdimen2\font}%
  732.   \normalfont}
  733. \def\@Roman#1{\@xp\@slowromancap
  734.   \romannumeral#1@}%
  735. \def\@slowromancap#1{\ifx @#1% then terminate
  736.   \else
  737.     \if i#1I\else\if v#1V\else\if x#1X\else\if l#1L\else\if
  738.     c#1C\else\if m#1M\else#1\fi\fi\fi\fi\fi\fi
  739.     \@xp\@slowromancap
  740.   \fi
  741. }
  742. \def\frontmatter{\cleardoublepage\pagenumbering{roman}}
  743. \def\mainmatter{\cleardoublepage\pagenumbering{arabic}}
  744. \def\backmatter{\cleardoublepage}
  745. \def\aufm#1{\par\vspace*{12pt}{\flushright #1\par}}
  746. \newenvironment{xcb}{%
  747.   \settowidth{\leftmargini}{0.\hskip\labelsep}%
  748.   \settowidth{\leftmarginii}{(d.)\hskip\labelsep}%
  749.   \@startsection{section}% counter name; ignored because of the
  750.                                 % * below
  751.   {1}% sectioning level
  752.   {\z@}% indent to the left of the section title
  753.   {18\p@\@plus2\p@}% vertical space above *** added 12 more points space!!
  754.   {1sp}% Space below of 13pt base-to-base, so none needs to be added
  755.       % here; but \z@ would cause the following text to be run-in, so we
  756.       % use 1sp instead.
  757.   {\bfseries}% The font of the subsection title
  758.   *% always unnumbered
  759. }{%
  760.   \par
  761. }
  762. \def\chapter{\cleardoublepage \thispagestyle{plain}\global\@topnum\z@
  763.   \@afterindenttrue \secdef\@chapter\@schapter}
  764. \def\@chapter[#1]#2{\refstepcounter{chapter}%
  765.   \ifnum\c@secnumdepth<\z@ \let\@secnumber\@empty
  766.   \else \let\@secnumber\thechapter \fi
  767.   \typeout{\chaptername\space\@secnumber}%
  768.   \def\@toclevel{0}%
  769.   \ifx\chaptername\appendixname \@tocwriteb\tocappendix{chapter}{#2}%
  770.   \else \@tocwriteb\tocchapter{chapter}{#2}\fi
  771.   \chaptermark{#1}%
  772.   \addtocontents{lof}{\protect\addvspace{10\p@}}%
  773.   \addtocontents{lot}{\protect\addvspace{10\p@}}%
  774.   \@makechapterhead{#2}\@afterheading}
  775. \def\@schapter#1{\typeout{#1}%
  776.   \let\@secnumber\@empty
  777.   \def\@toclevel{0}%
  778.   \ifx\chaptername\appendixname \@tocwriteb\tocappendix{chapter}{#1}%
  779.   \else \@tocwriteb\tocchapter{chapter}{#1}\fi
  780.   \chaptermark{#1}%
  781.   \addtocontents{lof}{\protect\addvspace{10\p@}}%
  782.   \addtocontents{lot}{\protect\addvspace{10\p@}}%
  783.   \@makeschapterhead{#1}\@afterheading}
  784. \def\chaptername{Chapter}
  785. \def\thechapter{\@arabic\c@chapter}
  786. \def\appendixname{Appendix}
  787. \def\@makechapterhead#1{\global\topskip 7.5pc\relax
  788.   \begingroup
  789.   \fontsize{\@xivpt}{18}\bfseries\centering
  790.     \ifnum\c@secnumdepth>\m@ne
  791.       \leavevmode \hskip-\leftskip
  792.       \rlap{\vbox to\z@{\vss
  793.           \centerline{\normalsize\mdseries
  794.               \uppercase\@xp{\chaptername}\enspace\thechapter}
  795.           \vskip 3pc}}\hskip\leftskip\fi
  796.      #1\par \endgroup
  797.   \skip@34\p@ \advance\skip@-\normalbaselineskip
  798.   \vskip\skip@ }
  799. \def\@makeschapterhead#1{\global\topskip 7.5pc\relax
  800.   \begingroup
  801.   \fontsize{\@xivpt}{18}\bfseries\centering
  802.   #1\par \endgroup
  803.   \skip@34\p@ \advance\skip@-\normalbaselineskip
  804.   \vskip\skip@ }
  805. \def\appendix{\par
  806.   \c@chapter\z@ \c@section\z@
  807.   \let\chaptername\appendixname
  808.   \def\thechapter{\@Alph\c@chapter}}
  809. \newcommand{\@pnumwidth}{1.6em}
  810. \newcommand{\@tocrmarg}{2.6em}
  811. \setcounter{tocdepth}{1}
  812. \def\@starttoc#1#2{%
  813.   \begingroup
  814.   \let\secdef\@gobbletwo \chapter
  815.   \let\@secnumber\@empty % for \@tocwrite and \chaptermark
  816.   \ifx\contentsname#2%
  817.   \else \@tocwrite{chapter}{#2}\fi
  818.   \typeout{#2}\@xp\chaptermark\@xp{#2}%
  819.   \@makeschapterhead{#2}\@afterheading
  820.   \makeatletter
  821.   \@input{\jobname.#1}%
  822.   \if@filesw
  823.     \@xp\newwrite\csname tf@#1\endcsname
  824.     \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
  825.   \fi
  826.   \global\@nobreakfalse \endgroup
  827.   \newpage
  828. }
  829. \def\contentsname{Contents}
  830. \def\listfigurename{List of Figures}
  831. \def\listtablename{List of Tables}
  832. \def\tableofcontents{\@starttoc{toc}\contentsname}
  833. \def\listoffigures{\@starttoc{lof}\listfigurename}
  834. \def\listoftables{\@starttoc{lot}\listtablename}
  835. \AtBeginDocument{%
  836.   \@for\@tempa:=-1,0,1,2,3\do{%
  837.     \@ifundefined{r@tocindent\@tempa}{%
  838.       \@xp\gdef\csname r@tocindent\@tempa\endcsname{0pt}}{}%
  839.   }%
  840. }
  841. \def\@writetocindents{%
  842.   \begingroup
  843.   \@for\@tempa:=-1,0,1,2,3\do{%
  844.     \immediate\write\@auxout{%
  845.       \string\newlabel{tocindent\@tempa}{%
  846.         \csname r@tocindent\@tempa\endcsname}}%
  847.   }%
  848.   \endgroup}
  849. \AtEndDocument{\@writetocindents}
  850.  
  851. \let\indentlabel\@empty
  852. \def\@tochangmeasure#1{\sbox\z@{#1}%
  853.   \ifdim\wd\z@>\csname r@tocindent\@toclevel\endcsname\relax
  854.     \@xp\xdef\csname r@tocindent\@toclevel\endcsname{\the\wd\z@}%
  855.   \fi
  856. }
  857. \def\@toclevel{0}
  858. \def\@tocline#1#2#3#4#5#6#7{\relax
  859.   \ifnum #1>\c@tocdepth % then omit
  860.   \else
  861.     \par \addpenalty\@secpenalty\addvspace{#2}%
  862.     \begingroup \hyphenpenalty\@M
  863.     \@ifempty{#4}{%
  864.       \@tempdima\csname r@tocindent\number#1\endcsname\relax
  865.     }{%
  866.       \@tempdima#4\relax
  867.     }%
  868.     \parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax
  869.     \rightskip\@pnumwidth plus1em \parfillskip-\@pnumwidth
  870.     #5\leavevmode\hskip-\@tempdima #6\relax
  871.     \hfil\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
  872.     \nobreak
  873.     \endgroup
  874.   \fi}
  875. \def\@tocpagenum#1{\hss{\mdseries #1}}
  876. \def\@tocwrite#1{\@xp\@tocwriteb\csname toc#1\endcsname{#1}}
  877. \def\@tocwriteb#1#2#3{%
  878.   \begingroup
  879.     \def\@tocline##1##2##3##4##5##6{%
  880.       \ifnum##1>\c@tocdepth
  881.       \else \sbox\z@{##5\let\indentlabel\@tochangmeasure##6}\fi}%
  882.     \csname l@#2\endcsname{#1{\csname#2name\endcsname}{\@secnumber}{}}%
  883.   \endgroup
  884.   \addcontentsline{toc}{#2}%
  885.     {\protect#1{\csname#2name\endcsname}{\@secnumber}{#3}}}
  886. \def\l@section{\@tocline{1}{0pt}{1pc}{}{}}
  887. \newcommand{\tocsection}[3]{%
  888.   \indentlabel{\@ifnotempty{#2}{\ignorespaces#1 #2.\quad}}#3}
  889. \def\l@subsection{\@tocline{2}{0pt}{1pc}{5pc}{}}
  890. \let\tocsubsection\tocsection
  891. \def\l@subsubsection{\@tocline{3}{0pt}{1pc}{7pc}{}}
  892. \let\tocsubsubsection\tocsection
  893. \def\l@part{\@tocline{-1}{12pt plus2pt}{0pt}{}{\bfseries}}
  894. \let\tocpart\tocsection
  895. \def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{}}
  896. \let\tocchapter\tocsection
  897. \let\tocappendix\tocchapter
  898. \def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{}{}}
  899. \let\l@table=\l@figure
  900. \def\refname{References}
  901. \def\bibname{Bibliography}
  902. \def\bibliographystyle#1{%
  903.    \if@filesw\immediate\write\@auxout
  904.     {\string\bibstyle{#1}}\fi
  905.         \def\@tempa{#1}%
  906.         \def\@tempb{amsplain}%
  907.         \def\@tempc{}%
  908.         \ifx\@tempa\@tempb
  909.                 \def\@biblabel##1{##1.}%
  910.                 \def\bibsetup{}%
  911.         \else
  912.                 \def\bibsetup{\labelsep6\p@}%
  913.         \ifx\@tempa\@tempc
  914.                 \def\@biblabel##1{}%
  915.                 \def\bibsetup{\labelwidth\z@ \leftmargin24\p@
  916.                 \itemindent-24\p@
  917.                           \labelsep\z@ }%
  918.         \fi
  919. \fi}
  920. \newenvironment{thebibliography}[1]{%
  921.   \@xp\chapter\@xp*\@xp{\bibname}%
  922.   \normalfont\footnotesize\labelsep .5em\relax
  923.   \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
  924.   \list{\@biblabel{\theenumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
  925.     \leftmargin\labelwidth \advance\leftmargin\labelsep
  926.     \usecounter{enumiv}}%
  927.   \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
  928.   \sfcode`\.=\@m
  929. }{%
  930.   \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
  931.   \endlist
  932. }
  933. \def\bysame{\leavevmode\hbox to3em{\hrulefill}\thinspace}
  934. \def\newblock{}
  935. \newcommand\MR[1]{\relax\ifhmode\unskip\spacefactor3000 \space\fi
  936.   \def\@tempa##1:##2:##3\@nil{%
  937.     \ifx @##2\@empty##1\else\textbf{##1:}##2\fi}%
  938.   \MRhref{#1}{MR \@tempa#1:@:\@nil}}
  939. \newcommand\URL{\begingroup
  940.   \def\@sverb##1{%
  941.     \def\@tempa####1##1{\@URL{####1}\egroup\endgroup}%
  942.     \@tempa}%
  943.   \verb}
  944. \let\URLhref\@gobble
  945. \def\@URL#1{\URLhref{#1}#1}
  946. \newif\if@restonecol
  947. \def\indexchap#1{\global\topskip 7.5pc\relax
  948.   \twocolumn[\fontsize{\@xivpt}{18}%
  949.     \vskip\topskip\vskip-\baselineskip\hbox{}% adjust top space
  950.     \bfseries\centering #1\par]%
  951.   \global\topskip 34\p@
  952. }
  953. \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
  954.   \columnseprule\z@ \columnsep 35\p@
  955.   \let\@makeschapterhead\indexchap
  956.   \@xp\chapter\@xp*\@xp{\indexname}%
  957.   \thispagestyle{plain}%
  958.   \let\item\@idxitem
  959.   \parindent\z@  \parskip\z@\@plus.3\p@\relax
  960.   \footnotesize}
  961. \def\indexname{Index}
  962. \def\@idxitem{\par\hangindent 2em}
  963. \def\subitem{\par\hangindent 2em\hspace*{1em}}
  964. \def\subsubitem{\par\hangindent 3em\hspace*{2em}}
  965. \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
  966. \def\indexspace{\par\bigskip}
  967. \@addtoreset{footnote}{chapter}
  968. \def\footnoterule{\kern-.4\p@
  969.         \hrule\@width 5pc\kern11\p@\kern-\footnotesep}
  970. \def\@makefnmark{\hbox{$\m@th^{\@thefnmark}$}}
  971. \def\@makefntext{\indent\@makefnmark}
  972. \long\def\@footnotetext#1{\insert\footins{%
  973.   \normalfont\footnotesize
  974.   \interlinepenalty\interfootnotelinepenalty
  975.   \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
  976.   \floatingpenalty\@MM \hsize\columnwidth
  977.   \@parboxrestore \parindent\normalparindent \sloppy
  978.   \edef\@currentlabel{\p@footnote\@thefnmark}%
  979.   \@makefntext{\rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}}
  980. \hfuzz=1pt \vfuzz=\hfuzz
  981. \def\sloppy{\tolerance9999 \emergencystretch 3em\relax}
  982. \setcounter{topnumber}{4}
  983. \setcounter{bottomnumber}{4}
  984. \setcounter{totalnumber}{4}
  985. \setcounter{dbltopnumber}{4}
  986. \renewcommand{\topfraction}{.97}
  987. \renewcommand{\bottomfraction}{.97}
  988. \renewcommand{\textfraction}{.03}
  989. \renewcommand{\floatpagefraction}{.9}
  990. \renewcommand{\dbltopfraction}{.97}
  991. \renewcommand{\dblfloatpagefraction}{.9}
  992. \setlength{\floatsep}{12pt plus 6pt minus 4pt}
  993. \setlength{\textfloatsep}{15pt plus 8pt minus 5pt}
  994. \setlength{\intextsep}{12pt plus 6pt minus 4pt}
  995. \setlength{\dblfloatsep}{12pt plus 6pt minus 4pt}
  996. \setlength{\dbltextfloatsep}{15pt plus 8pt minus 5pt}
  997. \setlength{\@fptop}{0pt}% removed ``plus 1fil''
  998. \setlength{\@fpsep}{8pt}% removed ``plus 2fil''
  999. \setlength{\@fpbot}{0pt plus 1fil}
  1000. \setlength{\@dblfptop}{0pt}% removed ``plus 1fil''
  1001. \setlength{\@dblfpsep}{8pt}% removed ``plus 2fil''
  1002. \setlength{\@dblfpbot}{0pt plus 1fil}
  1003. \newcommand{\fps@figure}{tbp}
  1004. \newcommand{\fps@table}{tbp}
  1005. \newcounter{figure}[chapter]
  1006. \def\@captionheadfont{\scshape}
  1007. \def\@captionfont{\normalfont}
  1008. \def\ftype@figure{1}
  1009. \def\ext@figure{lof}
  1010. \def\fnum@figure{\figurename\ \thefigure}
  1011. \def\figurename{Figure}
  1012. \newenvironment{figure}{%
  1013.   \@float{figure}%
  1014. }{%
  1015.   \end@float
  1016. }
  1017. \newcounter{table}[chapter]
  1018. \def\ftype@table{2}
  1019. \def\ext@table{lot}
  1020. \def\fnum@table{\tablename\ \thetable}
  1021. \def\tablename{Table}
  1022. \newenvironment{table}{%
  1023.   \@float{table}%
  1024. }{%
  1025.   \end@float
  1026. }
  1027. \def\@floatboxreset{\global\@minipagefalse \centering}
  1028. \long\def\@makecaption#1#2{%
  1029.   \setbox\@tempboxa\vbox{\color@setgroup
  1030.     \advance\hsize-2\captionindent\noindent
  1031.     \@captionfont\@captionheadfont#1\@xp\@ifnotempty\@xp
  1032.         {\@cdr#2\@nil}{.\@captionfont\upshape\enspace#2}%
  1033.     \unskip\kern-2\captionindent\par
  1034.     \global\setbox\@ne\lastbox\color@endgroup}%
  1035.   \ifhbox\@ne % the normal case
  1036.     \setbox\@ne\hbox{\unhbox\@ne\unskip\unskip\unpenalty\unkern}%
  1037.   \fi
  1038.   \ifdim\wd\@tempboxa=\z@ % this means caption will fit on one line
  1039.     \setbox\@ne\hbox to\columnwidth{\hss\kern-2\captionindent\box\@ne\hss}%
  1040.   \else % tempboxa contained more than one line
  1041.     \setbox\@ne\vbox{\unvbox\@tempboxa\parskip\z@skip
  1042.         \noindent\unhbox\@ne\advance\hsize-2\captionindent\par}%
  1043. \fi
  1044.   \ifnum\@tempcnta<64 % if the float IS a figure...
  1045.     \addvspace\abovecaptionskip
  1046.     \moveright\captionindent\box\@ne
  1047.   \else % if the float IS NOT a figure...
  1048.     \moveright\captionindent\box\@ne
  1049.     \nobreak
  1050.     \vskip\belowcaptionskip
  1051.   \fi
  1052. \relax
  1053. }
  1054. \newskip\abovecaptionskip \abovecaptionskip=12pt \relax
  1055. \newskip\belowcaptionskip \belowcaptionskip=12pt \relax
  1056. \newdimen\captionindent \captionindent=3pc
  1057. \RequirePackage{amsthm}[1996/09/24]
  1058. \def\@swapped#1#2{#2%
  1059.   \@ifnotempty{#1}{\@addpunct{.}\quad#1\unskip}}
  1060. \def\thmhead@plain#1#2#3{%
  1061.   \thmname{#1}\thmnumber{\@ifnotempty{#1}{ }\@upn{#2}}%
  1062.   \thmnote{ \textmd{\upshape(#3)}}}
  1063. \def\swappedhead@plain#1#2#3{%
  1064.   \thmnumber{\@upn{#2}}\thmname{\@ifnotempty{#2}{. }#1}%
  1065.   \thmnote{ \textmd{\upshape(#3)}}}
  1066. \def\th@plain{%
  1067.   \let\thm@indent\indent
  1068.   \thm@headfont{\scshape}% heading font small caps
  1069.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1070.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1071.                                     \@minus.2\baselineskip
  1072.   \thm@postskip\thm@preskip
  1073.   \itshape
  1074. }
  1075. \def\th@definition{%
  1076.   \let\thm@indent\indent
  1077.   \thm@headfont{\scshape}% heading font small caps
  1078.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1079.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1080.                                     \@minus.2\baselineskip
  1081.   \thm@postskip\thm@preskip
  1082.   \upshape
  1083. }
  1084. \def\th@remark{%
  1085.   \let\thm@indent\indent
  1086.   \thm@headfont{\scshape}% heading font small caps
  1087.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1088.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1089.                                     \@minus.2\baselineskip
  1090.   \thm@postskip\thm@preskip
  1091.   \upshape
  1092. }
  1093. \renewenvironment{proof}[1][\proofname]{\par \normalfont
  1094.   \topsep6\p@\@plus6\p@ \trivlist \itemindent\normalparindent
  1095.   \item[\hskip\labelsep\scshape
  1096.     #1\@addpunct{.}]\ignorespaces
  1097. }{%
  1098.   \qed\endtrivlist
  1099. }
  1100. \if@compatibility
  1101. \let\@newpf\proof \let\proof\relax \let\endproof\relax
  1102. \newenvironment{pf}{\@newpf[\proofname]}{\qed\endtrivlist}
  1103. \newenvironment{pf*}[1]{\@newpf[#1]}{\qed\endtrivlist}
  1104. \fi
  1105. \def\nonbreakingspace{\unskip\nobreak\ \ignorespaces}
  1106. \def~{\protect\nonbreakingspace}
  1107. \def\@biblabel#1{\@ifnotempty{#1}{[#1]}}
  1108. \def\@cite#1#2{{%
  1109.  \m@th\upshape\mdseries[{\bfseries #1}{\if@tempswa, #2\fi}]}}
  1110. \@ifundefined{cite }{%
  1111.   \expandafter\let\csname cite \endcsname\cite
  1112.   \edef\cite{\@nx\protect\@xp\@nx\csname cite \endcsname}%
  1113. }{}
  1114. \def\fullwidthdisplay{\displayindent\z@ \displaywidth\columnwidth}
  1115. \edef\@tempa{\noexpand\fullwidthdisplay\the\everydisplay}
  1116. \everydisplay\expandafter{\@tempa}
  1117. \newcommand\seename{see also}%
  1118. \newcommand\see[2]{{\em \seename\/} #1}%
  1119. \newcommand\printindex{\@input{\jobname.ind}}%
  1120. \DeclareRobustCommand\textprime{\leavevmode
  1121.   \raise.8ex\hbox{\check@mathfonts\the\scriptfont2 \char48 }}
  1122. \def\maketitle{\par
  1123.   \@topnum\z@ % this prevents figures from falling at the top of page 1
  1124.   \begingroup
  1125.   \@maketitle
  1126.   \endgroup
  1127.   \c@footnote\z@
  1128.   \def\do##1{\let##1\relax}%
  1129.   \do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title
  1130.   \do\author \do\@xauthor \do\address \do\@xaddress
  1131.   \do\email \do\@xemail \do\curraddr \do\@xcurraddr
  1132.   \do\dedicatory \do\@dedicatory \do\thanks \do\thankses
  1133.   \do\keywords \do\@keywords \do\subjclass \do\@subjclass
  1134. }
  1135. \def\@maketitle{%
  1136.   \cleardoublepage \thispagestyle{empty}%
  1137.   \begingroup \topskip\z@skip
  1138.   \null\vfil
  1139.   \begingroup
  1140.   \LARGE\bfseries \centering
  1141.   \openup\medskipamount
  1142.   \@title\par\vspace{24pt}%
  1143.   \def\and{\par\medskip}\centering
  1144.   \mdseries\authors\par\bigskip
  1145.   \endgroup
  1146.   \vfil
  1147.   \ifx\@empty\addresses
  1148.   \else
  1149.     Author address:
  1150.     \@setaddresses
  1151.   \fi
  1152.   \vfill
  1153.   \newpage\thispagestyle{empty}
  1154.   \begin{center}
  1155.     \ifx\@empty\@subjclass\else\@setsubjclass\fi
  1156.     \ifx\@empty\@translators\else\vfil\@settranslators\fi
  1157.     \ifx\@empty\thankses\else\vfil\@setthanks\fi
  1158.   \end{center}
  1159.   \vfil
  1160.   \@setabstract
  1161.   \endgroup}
  1162. \def\@settranslators{\par
  1163.   \begingroup
  1164.   Translated by: \andify\@translators \uppercasenonmath\@translators
  1165.   \@translators \@@par
  1166.   \endgroup}
  1167. \hyphenation{acad-e-my acad-e-mies af-ter-thought anom-aly anom-alies
  1168. an-ti-deriv-a-tive an-tin-o-my an-tin-o-mies apoth-e-o-ses
  1169. apoth-e-o-sis ap-pen-dix ar-che-typ-al as-sign-a-ble as-sist-ant-ship
  1170. as-ymp-tot-ic asyn-chro-nous at-trib-uted at-trib-ut-able bank-rupt
  1171. bank-rupt-cy bi-dif-fer-en-tial blue-print busier busiest
  1172. cat-a-stroph-ic cat-a-stroph-i-cally con-gress cross-hatched data-base
  1173. de-fin-i-tive de-riv-a-tive dis-trib-ute dri-ver dri-vers eco-nom-ics
  1174. econ-o-mist elit-ist equi-vari-ant ex-quis-ite ex-tra-or-di-nary
  1175. flow-chart for-mi-da-ble forth-right friv-o-lous ge-o-des-ic
  1176. ge-o-det-ic geo-met-ric griev-ance griev-ous griev-ous-ly
  1177. hexa-dec-i-mal ho-lo-no-my ho-mo-thetic ideals idio-syn-crasy
  1178. in-fin-ite-ly in-fin-i-tes-i-mal ir-rev-o-ca-ble key-stroke
  1179. lam-en-ta-ble light-weight mal-a-prop-ism man-u-script mar-gin-al
  1180. meta-bol-ic me-tab-o-lism meta-lan-guage me-trop-o-lis
  1181. met-ro-pol-i-tan mi-nut-est mol-e-cule mono-chrome mono-pole
  1182. mo-nop-oly mono-spline mo-not-o-nous mul-ti-fac-eted mul-ti-plic-able
  1183. non-euclid-ean non-iso-mor-phic non-smooth par-a-digm par-a-bol-ic
  1184. pa-rab-o-loid pa-ram-e-trize para-mount pen-ta-gon phe-nom-e-non
  1185. post-script pre-am-ble pro-ce-dur-al pro-hib-i-tive pro-hib-i-tive-ly
  1186. pseu-do-dif-fer-en-tial pseu-do-fi-nite pseu-do-nym qua-drat-ic
  1187. quad-ra-ture qua-si-smooth qua-si-sta-tion-ary qua-si-tri-an-gu-lar
  1188. quin-tes-sence quin-tes-sen-tial re-arrange-ment rec-tan-gle
  1189. ret-ri-bu-tion retro-fit retro-fit-ted right-eous right-eous-ness
  1190. ro-bot ro-bot-ics sched-ul-ing se-mes-ter semi-def-i-nite
  1191. semi-ho-mo-thet-ic set-up se-vere-ly side-step sov-er-eign spe-cious
  1192. spher-oid spher-oid-al star-tling star-tling-ly sta-tis-tics
  1193. sto-chas-tic straight-est strange-ness strat-a-gem strong-hold
  1194. sum-ma-ble symp-to-matic syn-chro-nous topo-graph-i-cal tra-vers-a-ble
  1195. tra-ver-sal tra-ver-sals treach-ery turn-around un-at-tached
  1196. un-err-ing-ly white-space wide-spread wing-spread wretch-ed
  1197. wretch-ed-ly Eng-lish Euler-ian Feb-ru-ary Gauss-ian
  1198. Hamil-ton-ian Her-mit-ian Jan-u-ary Japan-ese Kor-te-weg
  1199. Le-gendre Mar-kov-ian Noe-ther-ian No-vem-ber Rie-mann-ian Sep-tem-ber}
  1200. \def\calclayout{\advance\textheight -\headheight
  1201.   \advance\textheight -\headsep
  1202.   \oddsidemargin\paperwidth
  1203.   \advance\oddsidemargin -\textwidth
  1204.   \divide\oddsidemargin\tw@
  1205.   \ifdim\oddsidemargin<.5truein \oddsidemargin.5truein \fi
  1206.   \advance\oddsidemargin -1truein
  1207.   \evensidemargin\oddsidemargin
  1208.   \topmargin\paperheight \advance\topmargin -\textheight
  1209.   \advance\topmargin -\headheight \advance\topmargin -\headsep
  1210.   \divide\topmargin\tw@
  1211.   \ifdim\topmargin<.5truein \topmargin.5truein \fi
  1212.   \advance\topmargin -1truein\relax
  1213. }
  1214. \calclayout % initialize
  1215. \pagenumbering{arabic}
  1216. \pagestyle{headings}
  1217. \thispagestyle{plain}
  1218. \if@compatibility \else\endinput\fi
  1219. \def\tiny{\Tiny}
  1220. \def\defaultfont{\normalfont}
  1221. \def\rom{\textup}
  1222. \endinput
  1223. %%
  1224. %% End of file `amsbook.cls'.
  1225.